HttpHeader

interface HttpHeader

An HTTP header.

Functions

Link copied to clipboard
open fun name(): String
Returns a string that represents the HTTP header name.
Link copied to clipboard
open fun of(name: String, value: String): HttpHeader
Returns an instance of the HttpHeader with the given name and value.
Link copied to clipboard
open fun value(): String
Returns a string that represents the HTTP header value.